<template>
  <div>
    <el-row :getter="10">
      <el-col :span="row.span ? row.span:2" v-for="(row,index) of headBut" :key="index" >
        <el-button v-if="row.show || true" type="primary" size="mini" @click="row.click" >{{ row.label }}</el-button>
      </el-col>
    </el-row>
  </div>
</template>


<script>
export default {
  name:'TableOperationBut',
  props:{
    headBut:{
      type:Array,
      default:()=>{
        return []
      }
    }
  }
}

</script>

<style>

</style>
